﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using EnterpriseLibraryWrapper;
using itau.im.entidade;

namespace itau.im.negocio
{
    [ServiceContract]
    public interface IConfiguracoesBS
    {
        [OperationContract]
        [FaultContract(typeof(WCFFaultContract))]
        string ObterConfiguracaoPorDominioEChave(string dominioAplicacao, string chave);

        [OperationContract]
        [FaultContract(typeof(WCFFaultContract))]
        void AtualizarConfiguracao(string dominio, string chave, string valorConfiguracao);

        [OperationContract]
        [FaultContract(typeof(WCFFaultContract))]
        List<Item> ObterMapaConfiguracoesPorDominio(string dominio);
    }
}
